import 'package:flutter/material.dart';

class Themes {
  //普通模式
  ThemeData light() => ThemeData(
        brightness: Brightness.light,
        primaryColor: Colors.white,
        bottomNavigationBarTheme: BottomNavigationBarThemeData(
          selectedItemColor: Colors.green,
          unselectedItemColor: Colors.black54,
          backgroundColor: Colors.white,
        ),
      );

  //暗黑模式
  ThemeData dark() => ThemeData(
        brightness: Brightness.dark,
        primaryColor: Colors.black,
      );
}
